package me.leiusual.sharing.util.extension

import android.widget.Toast
import androidx.fragment.app.Fragment

/**
 * Create by leiusual on 2018/7/19
 */

fun Fragment.toast(text: String?) {
  Toast.makeText(context?.applicationContext, text ?: "未知信息", Toast.LENGTH_SHORT).show()
}